<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="bean.Content"%>
<%@page import="dao.Fundraising_projectDao"%>

<html>
	<head>
		<title>山东工商学院 捐赠项目描述</title>
		<link rel="shortcut icon" href="images/titleico.ico" />
		<link href="css/myA.css" type="text/css" rel="stylesheet">
		<link href="css/myCss.css" type="text/css" rel="stylesheet">
	</head>
	<body>
		<% 
			String id = request.getParameter("id");
			
			Content showContent = new Fundraising_projectDao().getContent(id,2);
			session.setAttribute("showContent",showContent);
			if(showContent == null) {
		%>
				<script type="text/javascript">
					alert("非法访问，系统自动返回到上一页!");
					history.back(-1);
				</script>
		<%
			}
		%>
		
	
		<jsp:include page="top.jsp"></jsp:include>
		<table cellpadding="0" cellspacing="0" width="960" align="center">
			<tr>
				<td valign="top">
					<jsp:include page="leftshow.jsp"></jsp:include>
				</td>
				<td width="630" valign="top">
					<table width="630" cellpadding="0" cellspacing="0" height="38">
						<tr>
							<td height="20">
								<hr color="#CC9966">
								<img src="images/jy.gif">
								<hr color="#CC9966">
							</td>
						</tr>
						<tr>
							<td>
								<table cellpadding="0" cellspacing="0" width="620"
									align="center">
									<tr>
										<td align="center" style="padding-top: 10; font-size: 20">
											<div style="color: #550000">
												<b>${showContent.title}</b>
											</div>
										</td>
									</tr>

									<tr>
										<td>
											<hr style="border: 1px dashed #D3D3D3" align="center"
												width="600">
										</td>
									</tr>

									<tr>
										<td>
											<table cellpadding="0" cellspacing="0" align="center">
												<tr>
													<td align="center" style="padding-top: 5">
														<div style="font-size: 12">
															发布时间：${showContent.date} &nbsp;
															浏览次数：${showContent.scan_num}次
														</div>
													</td>
												</tr>
											</table>
										</td>
									</tr>

									<tr>
										<td>
											<table cellpadding="0" cellspacing="0" align="center"
												width="600">
												<tr>
													<td style="padding-top: 30">
														<div id="div_font" style="line-height: 1.6; font-size: 14">
															${showContent.data}
														</div>
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<jsp:include page="bottom.jsp"></jsp:include>
	</body>
</html>